# -*-coding:utf-8 -*-
# File  : operation_api.py
# Time  ：2021/11/24 10:39
# Author：author name


from api.manage.manage_base import ManageBase


class OperationApi(ManageBase):
    def __init__(self, operator_id, status):
        """
        运营商是否启用接口
        :param operator_id:
        :param status:
        """
        super().__init__()
        self.url = self.host + f"cloudlottery-manage/operator/operation?operatorid={operator_id}&status={status}"
        self.method = "put"
